import styles from './index.module.less';

interface ISummaryProps {
    filed: String;
    content: String;
}

export default function Summary (props: ISummaryProps) {
    const { filed, content } = props;
    return(
        <div className={styles['summary-wrapper']}>
            <div className={styles['inner']}>
                <header className={styles['header']}>{filed}运势总结</header>
                <div className={styles['content']}>{content || '加载中...'}</div>
            </div>
        </div>
    )
}